package com.lilicould.entity;

import java.util.Date;

public class Grades {
    private String id; // 自增主键
    private String studentUserNo;
    private String courseId;
    private String teacherUserNo;
    private String semester; // 开设学期
    private String score;
    private Date examDate;
    private Date createdAt; // 创建时间
    private Date updatedAt; // 更新时间

    public Grades(String id, String studentUserNo, String courseId, String teacherUserNo, String semester, String score, Date examDate, Date createdAt, Date updatedAt) {
        this.id = id;
        this.studentUserNo = studentUserNo;
        this.courseId = courseId;
        this.teacherUserNo = teacherUserNo;
        this.semester = semester;
        this.score = score;
        this.examDate = examDate;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStudentUserNo() {
        return studentUserNo;
    }

    public void setStudentUserNo(String studentUserNo) {
        this.studentUserNo = studentUserNo;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getTeacherUserNo() {
        return teacherUserNo;
    }

    public void setTeacherUserNo(String teacherUserNo) {
        this.teacherUserNo = teacherUserNo;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public String toString() {
        return "Grades{" +
                "id='" + id + '\'' +
                ", studentUserNo='" + studentUserNo + '\'' +
                ", courseId='" + courseId + '\'' +
                ", teacherUserNo='" + teacherUserNo + '\'' +
                ", semester='" + semester + '\'' +
                ", score='" + score + '\'' +
                ", examDate=" + examDate +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                '}';
    }
}
